<template>
	<view class="">
		<gb-pickerArea ref="show" @onChange="onChangeValue"></gb-pickerArea>
		<view class="" style="text-align: center;" @click="open()">
			选择地址
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		onLoad() {
			// this.open()
		},
		methods: {
			open(){
				console.log("????")
				alert("1")
				// console.log(this.$refs['show'])
				this.$refs['show'].open()
			},
			onChangeValue(e) {
				console.log(e)
			},
			
		}

	}
</script>

<style>

</style>
